#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"
ST st;
void Test1()
{
	STPush(&st, 1);
	STPush(&st, 2);
	STPush(&st, 3);
	STPush(&st, 4);
	STPush(&st, 5);
}
void Test2()
{
	STPush(&st, 10);
	STPush(&st, 11);
	STPush(&st, 12);
}
void Test3()
{
	while (!STEmpty(&st))
	{
		printf("%d ", STTop(&st));
		STPop(&st);
	}
	STDestroy(&st);
}
int main()
{
	STInitial(&st);
	Test1();
	Test2();
	Test3();
	return 0;
}